package com.rl.domain;

public class Mail {
    int mid;
    String title;
    String text;
    String uname1;
    String uname2;

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getUname1() {
        return uname1;
    }

    public void setUname1(String uname1) {
        this.uname1 = uname1;
    }

    public String getUname2() {
        return uname2;
    }

    public void setUname2(String uname2) {
        this.uname2 = uname2;
    }

    @Override
    public String toString() {
        return "Mail{" +
                "mid=" + mid +
                ", title='" + title + '\'' +
                ", text='" + text + '\'' +
                ", uname1='" + uname1 + '\'' +
                ", uname2='" + uname2 + '\'' +
                '}';
    }
}
